package apps.reading.db;

import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface WebSourceDAO extends PagingAndSortingRepository<WebSourceBean, String>{
	
	List<WebSourceBean> findByTitle(String title);
	
	Page<WebSourceBean> findBySourceType(String sourceType,Pageable pageable);
	
	Page<WebSourceBean> findBySourceTypeAndType(String sourceType,String type,Pageable pageable);
	
}
